//
//  BaseCollectionViewController.h
//  德方军考通
//
//  Created by 毕武侠 on 16/8/27.
//  Copyright © 2016年 毕武侠. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface BaseCollectionViewController : UICollectionViewController

/**
 *  数据源
 */
@property (nonatomic, strong) NSMutableArray *sourceData;

@property (nonatomic, assign) CGFloat minLineSpace;
@property (nonatomic, assign) CGFloat minInteritemSpace;
@property (nonatomic, assign) UIEdgeInsets edgeInsets;
@property (nonatomic, assign) BOOL isDealData;

/**
 *  参数请求
 */
@property (nonatomic, strong) SGParameter *parameter;

/**
 *  没有数据时，展示的文字
 */
@property (nonatomic, strong) NSString *titles;
@property (nonatomic, strong) NSString *message;

/**
 *  cell 名字
 */
@property (nonatomic, strong) NSString *cellClassName;
@property (nonatomic, strong) NSString *identifier;
@property (nonatomic, strong) NSString *modelClass;

- (void)initRefreshView;

- (void)reloadNewData;

- (void)actionIndexPath:(NSIndexPath *)indexPath infoData:(id)data;

- (void)dealData:(id)data atPage:(NSUInteger)page;

- (void)refreshView;

@end
